package com.xy.tool.gid.domain;

import lombok.Data;

/**
 * 生成id的节点
 *
 * Created by zsp on 2018/7/11.
 */
@Data
public class GidNode {

    /**
     * equals to 1 << 10
     */
    public final static int MAX_SERVER_SIZE = 0x0400;
    public final static int MAX_SERVER_SIZE_MASK = 0x03FF;

    /**
     *
     */
    private String ip;
    /**
     *
     */
    private Integer port;
    /**
     *
     */
    private Integer sequence;

}
